package cn.edu.qzuie.artist.module.td.controller.admin.workscatagory.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 作品分类 Response VO")
@Data
@ExcelIgnoreUnannotated
public class WorksCategoryRespVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("编号")
    private Long id;

    @Schema(description = "分类名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "绘画")
    @ExcelProperty("分类名称")
    private String categoryName;

    @Schema(description = "父编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    @ExcelProperty("父编号")
    private Long parentId;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED, example = "50")
    @ExcelProperty("排序")
    private Integer sort;

}